import App from './App.vue';
import router from './router';
import { createApp } from 'vue';
import { createPinia } from 'pinia';
import './assets/style/global.scss';
import './assets/style/tailwind.css';
import LyInput from './components/LyInput/index.vue';
import 'bootstrap-icons/font/bootstrap-icons.min.css';
import LyButton from './components/LyButton/index.vue';
import LyToolsBar from '@/components/LyToolsBar/index.vue';

const app = createApp(App);

// 全局组件注册
app.component('ly-input', LyInput);
app.component('ly-button', LyButton);
app.component('ly-tools-bar', LyToolsBar);

app.use(createPinia());
app.use(router);

app.mount('#root');
